package com.cdut.cn.boke.service.impl;

import com.cdut.cn.boke.dao.UserDao;
import com.cdut.cn.boke.pojo.User;
import com.cdut.cn.boke.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User selectUserByName(String username) {
        return userDao.selectUserByName(username);
    }
}

